import { get, post, put, deleteApi } from '@/utils/http.js'

const api = {
  list: 'desktop/note/list',
  insert: 'desktop/note/insert',
  update: 'desktop/note/update',
  delete: 'desktop/note/delete',
}

export const list = (params) => {
  return post(api.list, params)
}

export const insert = (params) => {
  return post(api.insert, params)
}

export const update = (params) => {
  return put(api.update, params)
}
